/**
 * Created by Administrator on 2017/8/3.
 */
import Vue from 'vue'
import Router from 'vue-router'
import store from '../../vuex/store'
import axios from '../../axios/http'
import YDUI from 'vue-ydui'
import 'vue-ydui/dist/ydui.rem.css'
import photoIndex from './photo.vue'
import '../healths.css'

Vue.use(YDUI)
Vue.use(Router)

// 将axios挂载到prototype上，在组件中可以直接使用this.axios访问
Vue.prototype.axios = axios;

const router = new Router({
  routes: []
})

new Vue({
	el: '#photo',
  router,
	store,
	template: '<photo-index></photo-index>',
	components: { photoIndex	}
})
